/*
 * Created on Tue Sep 26 2017
 * @flow
 * Copyright (c) 2017 jianglinjie
 */
'use strict';
import { RedisKeyPrefix } from '../constants';

export function getCaptchaRedisKey(phone?: string = '', business?: string = ''): string {
  return `${RedisKeyPrefix.CAPTCHA}:${business}:${phone}`;
}